public class maxProfit {
    public static void main(String[] args) {
        Solution1 solution1 = new Solution1();
        System.out.println(solution1.maxProfit(new int[]{1, 2}));
    }
}
